Piwik\Tracker A

Total Complexity 68
Dependencies 25
Dependents 17
Total lines 274
Lines of code 210
Logical lines of code 131
Comment lines 24
Methods 23
Properties 5

Methods 23

Method Rating Maintainability Complexity Lines of code
setTestEnvironment()
A
45 14 38
initCorePiwikInTrackerMode()
S
59 4 14
isDebugEnabled()
S
60 4 14
getDatabase()
S
62 4 11
main()
S
54 3 22
isPreFlightCorsRequest()
S
68 4 6
loadTrackerEnvironment()
S
63 4 10
track()
S
64 3 11
restoreTrackerPlugins()
S
72 3 5
handleFatalErrors()
S
66 3 8
shouldRecordStatistics()
S
68 3 7
trackRequest()
S
62 2 11
isInstalled()
S
71 2 6
init()
S
66 2 8
isDebugModeEnabled()
S
77 2 3
loadTrackerPlugins()
S
64 2 9
disconnectDatabase()
S
72 2 6
disconnectCachedDbConnection()
S
71 2 6
__construct()
S
80 1 3
isDatabaseConnected()
S
80 1 3
hasLoggedRequests()
S
80 1 3
setCountOfLoggedRequests()
S
81 1 3
getCountOfLoggedRequests()
S
82 1 3